5. Using Pluto
See more detailed information available here
Starting Pluto
- Start Julia and keep it in mode \(\color{red}{\text{julia>}}\)
- Type in its black window: import Pluto ; Pluto.run()
- Click on Enter and Julia will open Pluto in your browser:
\(~~~~~~~~~~~~~~\)![]()
Opening a Pluto notebook
- To open a Pluto notebook, the double-click on top of the file does not work
- Neither do the usual drag-and-drop in Mac
- Even if the drag-and-drop seems to work, do not do it … you will loose your work
Opening a Pluto notebook
You have to tell Pluto where your notebook is located. For this, you have to:
- Put the Pluto notebook in a folder on your computer.
- So your notebook has an address (Path) on your computer
- You have to copy that address and paste it into Pluto’s Open a notebook window
- How to get the address (Path) of your notebook?
- See next slide
Copy your notebook’s path: Windows
Put the cursor on top of your file
- Mouse right-click on your file
- Choose: Properties
- Copy the path in Location:
- The Path will looke like this:
\(~~~~~~\) G:\Macro\Week01
- Once you have copied the path of your notebook, you canp aste it into the Open a notebook box in the Pluto window
- See next slide
Copy your notebook’s path: Mac
Put the cursor on top of your file
- Mouse right-click on your file
- Choose: Get info
- Copy the path in Where:
- The Path will looke like this:
\(~~~~~~\) G:/Macro/Week01
- Once you have copied the path of your notebook, you can paste it into the Open a notebook box in the Pluto window
- See next slide
Paste the Path of your notebook into Pluto
\(~~~~~~~~~~~~~~\)![]()
- Your Pluto notebook will be opened and running in your browser